import axios from '@/libs/api.request'
export default class changeManageApi {
  // 工作台获取客户信息
  static GetCustomerTotal = (params) => {
    return axios.request({
      url: '/WorkBench/GetCustomerTotal',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }

  // 工作台获取账单信息
  static GetBillsTotal = (params) => {
    return axios.request({
      url: '/WorkBench/GetBillsTotal',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }

  // 工作台获取员工信息
  static GetEmployeeTotal = (params) => {
    return axios.request({
      url: '/WorkBench/GetEmployeeTotal',
      method: 'post',
      data: params,
      enctype: 'multipart/form-data'
    })
  }

  // 工作台获取异动数据信息
  static GetChangeStat = (params) => {
    return axios.request({
      url: '/WorkBench/GetChangeStat',
      method: 'get',
      params: params
    })
  }

  // 数据总览
  static GetDataScreen = (params) => {
    return axios.request({
      url: '/WorkBench/GetDataScreen',
      method: 'get',
      params: params
    })
  }

  // 账单数据
  static GetDataScreenBill = (params) => {
    return axios.request({
      url: '/WorkBench/GetDataScreenBill',
      method: 'get',
      params: params
    })
  }


  // 到期数据提醒
  static GetDueData = (params) => {
    return axios.request({
      url: '/WorkBench/GetDueData',
      method: 'post',
      data: params
    })
  }

  // 流程审批
  static GetProcessMsgList = (params) => {
    return axios.request({
      url: '/WorkBench/GetProcessMsgList',
      method: 'get',
      params: params
    })
  }

  // 获取操作日志
  static GetLogger = (params) => {
    return axios.request({
      url: '/WorkBench/GetLogger',
      method: 'post',
      data: params
    })
  }

  // 财务信息
  static GetFinanceData = (params) => {
    return axios.request({
      url: '/WorkBench/GetFinanceData',
      method: 'get',
      params: params
    })
  }

  // 获取客户状态
  static GetCustomerStatus = (params) => {
    return axios.request({
      url: '/WorkBench/GetCustomerStatus',
      method: 'post',
      data: params
    })
  }

  // 获取自定义快捷键（总）
  static GetCustomFastMenuList = (params) => {
    return axios.request({
      url: '/WorkBench/GetCustomFastMenuList',
      method: 'get',
      params: params
    })
  }

  // 获取快捷键（已选）
  static GetFastMenuList = (params) => {
    return axios.request({
      url: '/WorkBench/GetFastMenuList',
      method: 'get',
      params: params
    })
  }

  // 保存快捷键
  static SaveFastMenuList = (params) => {
    return axios.request({
      url: '/WorkBench/SaveFastMenuList',
      method: 'post',
      data: params
    })
  }

  // 客户端数据总览
  static GetClientWorkBench = (params) => {
    return axios.request({
      url: '/WorkBench/GetClientWorkBench',
      method: 'get',
      params: params
    })
  }
}
